Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <p>Date.parse() returns the number of milliseconds between the date and January 1, 1970:</p> <p id="demo"></p> <script> var msec = Date.parse("March 21, 2012"); document.getElementById("demo").innerHTML = msec; </script> </body> <!-- Mirrored from www.w3schools.com/js/tryit.asp?filename=tryjs_date_parse by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:35:52 GMT --> </html>
Result:
Try it Yourself - © w3schools.com